﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CustomerActive.Edit.aspx.cs"
    Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Quan tri he thong</title>
    <link rel="stylesheet" href="assets/css/reset.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/styleexpress.css" type="text/css" />
    <link rel="stylesheet" href="assets/css/invalid.css" type="text/css" media="screen" />
    <script src="assets/js/Admin_002.js" type="text/javascript"></script>
    <script src="assets/js/Admin.js" type="text/javascript"></script>
    <script src="assets/js/jquery.js" type="text/javascript"></script>
    <script src="assets/js/jquery.validate.js" type="text/javascript"></script>
    <script type='text/javascript' src="assets/js/common.js"></script>
    <script type='text/javascript' src="assets/js/jquery.autocomplete.js"></script>
    <script type='text/javascript' src="assets/js/Ports.js"></script>
    <script type='text/javascript' src="assets/js/Carrs.js"></script>
    <link rel="stylesheet" type="text/css" href="assets/css/jquery.autocomplete.css" />
    <style type="text/css">
        .thheader
        {
            font-weight: bold;
            vertical-align: middle;
            text-align: center;
            font-size: 11px;
            border: 1px solid #ccc !important;
            line-height: 12px !important;
        }
        .tdboder
        {
            border: none !important;
        }
        .tdboder p
        {
            padding: 1px !important;
            width: 40px;
            border: 1px solid #ccc !important;
            border-bottom: 1px solid #ccc !important;
        }
    </style>
    <script type="text/javascript">
        function doDelete(ExtID, CustID, Action) {
            if (confirm('Bạn có thực sự muốn xóa?')) {
                window.location.href = "CustomerStore.Edit.aspx?action=" + Action + "&ID=" + CustID + "&ExtID=" + ExtID;
            }
        }
        function ReloadOpener() {
            var tid = getUrlVars()['tid'];
            window.opener.location.href = 'CustomerStore.aspx';
            window.close();
        }
        $().ready(function () {
            $('.clsPol').focus().autocomplete(ports);
            $('.clsPod').focus().autocomplete(ports);
            $('.clsCarr').focus().autocomplete(carrs);
            $('#txtGoods').focus();
        });    		 
    </script>
    <style type="text/css">
        input[type=text], input[type=password], textarea, select
        {
            border: none;
        }
        input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus
        {
            border-color: #4488cc;
            border-style: solid;
            border-width: 1px;
            margin: 0;
            background-color: #FCFFC5 !important;
        }
        .row
        {
            border-bottom: 1px solid #E9E9E9;
        }
    </style>
</head>
<body>
    <div id="body-wrapper">
        <div id="main-content1" style="padding: 0px; margin-left: 5px;">
            <div class="">
            </div>
            <h2>
                Active Cust Add/ Edit</h2>
            <div class="clear">
            </div>
            <div class="content-box">
                <form id="frmEdit" runat="server" method="post">
                <div class="content-box-header">
                    <h3 style="cursor: s-resize;">
                        Thông tin khách hàng :
                        <%Response.Write(strCustomerName + "  "); Response.Write(strCustomerAdminOwner); %>
                    </h3>
                    <div class="clear">
                    </div>
                </div>
                <fieldset class="adminform">
                    <table class="paramlist admintable " width="100%">
                        <%if (strError != "")
                          {%>
                        <tr>
                            <td colspan="2">
                                <em style="color: Red;">
                                    <% = strMess %></em>
                            </td>
                        </tr>
                        <%} %>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Tên hàng XK:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtGoods" name="txtGoods" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                Tên hàng NK:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtGoodsEx" name="txtGoodsEx" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                HS XK:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtHsGoods" name="txtHsGoods" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                HS NK:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtHsGoodsEx" name="txtHsGoodsEx" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" style="width: 160px;">
                                Tên Công ty khách hàng: (<span style="color: red;">*</span>)
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtName" name="txtName" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                Pic:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtPic" name="txtPic" runat="server" Width="85%"></asp:TextBox>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Địa chỉ:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtAddress" name="txtAddress" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                Position:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtPosion" name="txtPosion" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Tel:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtTel" name="txtTel" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                POL:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtPOL" name="txtPOL" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Mobile:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtMobile" name="txtMobile" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                POD:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtRouter" name="txtRouter" runat="server" Width="85%"></asp:TextBox>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Email:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtEmail" name="txtEmail" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                Cnee:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtCnee" name="txtCnee" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Cont 20:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtVol" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                Cont 40:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtReport" name="txtReport" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                        <tr>
                            <td class="key" align="left" width="20%">
                                Other:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtOther" name="txtOther" runat="server" Width="85%"></asp:TextBox>
                            </td>
                            <td class="key" align="left" width="20%">
                                MST:
                            </td>
                            <td align="left" class="row">
                                <asp:TextBox ID="txtCode" name="txtCode" runat="server" Width="85%"></asp:TextBox>
                            </td>
                        </tr>
                    </table>
                </fieldset>
                <div class="clear">
                </div>
                <div style="margin-top: 5px; width: 100%">
                    <asp:Button ID="btnSave" runat="server" Text="Update" class="button" OnClick="btnSave_Click" />
                    <input type="button" id="Exit" value="Exit" class="button" onclick="window.close();" />
                </div>
                </form>
            </div>
        </div>
    </div>
</body>
</html>
